package cn.topcodes.tcsf.admin.service.ops.proto;

import lombok.Data;

/**
 * Created by Unicorn on 2018/6/21.
 */
@Data
public class OpsUdpResponse extends OpsUdpBase {

    public static final String CODE_OK = "OK";

    public static final String CODE_FAILED = "FAILED";

    private String code;

    private String message;

    public OpsResponseBody buildOpsResponse(String code, String message, Object body) {
        throw new OpsResponseBody(code, message, body);
    }
}
